package com.ruoyi.business.domain.jackyun;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @description: 销售单
 * @author: xuzp
 * @time: 2024/4/15 11:39
 */
public class TradeOrderDTO {
    /**
     * 下单时间
     */
    private Date tradeTime;

    /**
     * 支付时间
     */
    private Date payTime;

    /**
     * 店铺名称、销售渠道
     */
    private String shopName;

    /**
     * 发货仓库编码
     */
    private String warehouseCode;

    /**
     * 仓库名称
     */
    private String warehouseName;

    /**
     * 物流名称
     */
    private String logisticName;

    /**
     * 运单号
     */
    private String mainPostid;

    /**
     * 订单类型(1-零售业务 2-代发货(来自分销商) 3-预售订单 4-周期性订购 5-代销售(供货商发货) 6-现款现货 7-售后发货 8-售后退货 9-批发业务(B2B) 10-试销业务 11-错漏调整 12-仅退款 13-销售返利 14-大B2B业务 15-物流买赔 91-自定义1 92-自定义2 93-自定义3 94-自定义4 95-自定义5 96-自定义6 97-自定义7 98-自定义8 99-自定义9 100-自定义10)
     */
    private Byte tradeType;

    /**
     * 商品金额
     */
    private BigDecimal totalFee;

    /**
     * 税额
     */
    private BigDecimal taxFee;

    /**
     * 应收邮资
     */
    private BigDecimal receivedPostFee;

    /**
     * 优惠金额
     */
    private BigDecimal discountFee;

    /**
     * 应收金额
     */
    private BigDecimal payment;

    /**
     * 平台优惠
     */
    private BigDecimal couponFee;

    /**
     * 已收金额
     */
    private BigDecimal receivedTotal;

    /**
     * 实际邮资
     */
    private BigDecimal postFee;

    /**
     * 结算币种
     */
    private String chargeCurrency;

    /**
     * 收款账户
     */
    private String accountName;

    /**
     * 支付方式
     */
    private Byte payType;

    /**
     * 支付帐号
     */
    private String payAccount;

    /**
     * 支付单号
     */
    private String payNo;

    /**
     * 备注
     */
    private String sellerMemo;

    /**
     * 买家备注
     */
    private String buyerMemo;

    /**
     * 确认时间
     */
    private Date confirmTime;

    /**
     * 承诺发货时间
     */
    private Date lastShipTime;

    /**
     * 客户账号
     */
    private String customerAccount;

    /**
     * 客户名称
     */
    private String customerName;

    /**
     * 收货人
     */
    private String receiverName;

    /**
     * 电话
     */
    private String phone;

    /**
     * 手机
     */
    private String mobile;

    /**
     * 国家
     */
    private String country;

    /**
     * 省
     */
    private String state;

    /**
     * 城市
     */
    private String city;

    /**
     * 区县
     */
    private String district;

    /**
     * 街道
     */
    private String town;

    /**
     * 邮编
     */
    private String zip;

    /**
     * 详细地址
     */
    private String address;

    /**
     * 证件类型(1=身份证2=学生证3=军官证4=护照5=港澳通行证6=其他)
     */
    private Byte identityCardType;

    /**
     * 证件号码
     */
    private String identityCardNo;

    /**
     * 证件使用姓名
     */
    private String identityCardName;

    /**
     * 发票类型（1普通发票2专用发票）
     */
    private Byte invoiceType;

    /**
     * 购方名称
     */
    private String payerName;

    /**
     * 购方税号
     */
    private String payerRegno;

    /**
     * 购方开户行及帐号
     */
    private String payerBankAccount;

    /**
     * 购方电话
     */
    private String payerPhone;

    /**
     * 购方地址
     */
    private String payerAddress;

    /**
     * 发票号码
     */
    private String invoiceNo;

    /**
     * 发票代码
     */
    private String invoiceCode;

    /**
     * 发票开具状态（0未开票1开票中2开票失败3已开具）
     */
    private Byte invoiceStatus;

    /**
     * 购方开户行
     */
    private String payerBankName;

    /**
     * 网店订单号
     */
    private String onlineTradeNo;

    /**
     * 业务员名称
     */
    private String sellerName;

    /**
     * 商品详细信息
     */
    private List<TradeOrderDetail> tradeOrderDetails;

    /**
     * 结算方式
     */
    private BigDecimal chargeType;

    /**
     * 配送方式
     */
    private Byte logisticType;

    /**
     * 付款状态
     */
    private Byte payStatus;

    /**
     * 销售单报关表信息
     */
    private TradeOrderDeclare tradeOrderDeclare;

    /**
     * 是否地址解析
     */
    private Byte isAddressAnalyze;

    public Date getTradeTime() {
        return tradeTime;
    }

    public void setTradeTime(Date tradeTime) {
        this.tradeTime = tradeTime;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getLogisticName() {
        return logisticName;
    }

    public void setLogisticName(String logisticName) {
        this.logisticName = logisticName;
    }

    public String getMainPostid() {
        return mainPostid;
    }

    public void setMainPostid(String mainPostid) {
        this.mainPostid = mainPostid;
    }

    public Byte getTradeType() {
        return tradeType;
    }

    public void setTradeType(Byte tradeType) {
        this.tradeType = tradeType;
    }

    public BigDecimal getTotalFee() {
        return totalFee;
    }

    public void setTotalFee(BigDecimal totalFee) {
        this.totalFee = totalFee;
    }

    public BigDecimal getTaxFee() {
        return taxFee;
    }

    public void setTaxFee(BigDecimal taxFee) {
        this.taxFee = taxFee;
    }

    public BigDecimal getReceivedPostFee() {
        return receivedPostFee;
    }

    public void setReceivedPostFee(BigDecimal receivedPostFee) {
        this.receivedPostFee = receivedPostFee;
    }

    public BigDecimal getDiscountFee() {
        return discountFee;
    }

    public void setDiscountFee(BigDecimal discountFee) {
        this.discountFee = discountFee;
    }

    public BigDecimal getPayment() {
        return payment;
    }

    public void setPayment(BigDecimal payment) {
        this.payment = payment;
    }

    public BigDecimal getCouponFee() {
        return couponFee;
    }

    public void setCouponFee(BigDecimal couponFee) {
        this.couponFee = couponFee;
    }

    public BigDecimal getReceivedTotal() {
        return receivedTotal;
    }

    public void setReceivedTotal(BigDecimal receivedTotal) {
        this.receivedTotal = receivedTotal;
    }

    public BigDecimal getPostFee() {
        return postFee;
    }

    public void setPostFee(BigDecimal postFee) {
        this.postFee = postFee;
    }

    public String getChargeCurrency() {
        return chargeCurrency;
    }

    public void setChargeCurrency(String chargeCurrency) {
        this.chargeCurrency = chargeCurrency;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public Byte getPayType() {
        return payType;
    }

    public void setPayType(Byte payType) {
        this.payType = payType;
    }

    public String getPayAccount() {
        return payAccount;
    }

    public void setPayAccount(String payAccount) {
        this.payAccount = payAccount;
    }

    public String getPayNo() {
        return payNo;
    }

    public void setPayNo(String payNo) {
        this.payNo = payNo;
    }

    public String getSellerMemo() {
        return sellerMemo;
    }

    public void setSellerMemo(String sellerMemo) {
        this.sellerMemo = sellerMemo;
    }

    public String getBuyerMemo() {
        return buyerMemo;
    }

    public void setBuyerMemo(String buyerMemo) {
        this.buyerMemo = buyerMemo;
    }

    public Date getConfirmTime() {
        return confirmTime;
    }

    public void setConfirmTime(Date confirmTime) {
        this.confirmTime = confirmTime;
    }

    public Date getLastShipTime() {
        return lastShipTime;
    }

    public void setLastShipTime(Date lastShipTime) {
        this.lastShipTime = lastShipTime;
    }

    public String getCustomerAccount() {
        return customerAccount;
    }

    public void setCustomerAccount(String customerAccount) {
        this.customerAccount = customerAccount;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getReceiverName() {
        return receiverName;
    }

    public void setReceiverName(String receiverName) {
        this.receiverName = receiverName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getTown() {
        return town;
    }

    public void setTown(String town) {
        this.town = town;
    }

    public String getZip() {
        return zip;
    }

    public void setZip(String zip) {
        this.zip = zip;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Byte getIdentityCardType() {
        return identityCardType;
    }

    public void setIdentityCardType(Byte identityCardType) {
        this.identityCardType = identityCardType;
    }

    public String getIdentityCardNo() {
        return identityCardNo;
    }

    public void setIdentityCardNo(String identityCardNo) {
        this.identityCardNo = identityCardNo;
    }

    public String getIdentityCardName() {
        return identityCardName;
    }

    public void setIdentityCardName(String identityCardName) {
        this.identityCardName = identityCardName;
    }

    public Byte getInvoiceType() {
        return invoiceType;
    }

    public void setInvoiceType(Byte invoiceType) {
        this.invoiceType = invoiceType;
    }

    public String getPayerName() {
        return payerName;
    }

    public void setPayerName(String payerName) {
        this.payerName = payerName;
    }

    public String getPayerRegno() {
        return payerRegno;
    }

    public void setPayerRegno(String payerRegno) {
        this.payerRegno = payerRegno;
    }

    public String getPayerBankAccount() {
        return payerBankAccount;
    }

    public void setPayerBankAccount(String payerBankAccount) {
        this.payerBankAccount = payerBankAccount;
    }

    public String getPayerPhone() {
        return payerPhone;
    }

    public void setPayerPhone(String payerPhone) {
        this.payerPhone = payerPhone;
    }

    public String getPayerAddress() {
        return payerAddress;
    }

    public void setPayerAddress(String payerAddress) {
        this.payerAddress = payerAddress;
    }

    public String getInvoiceNo() {
        return invoiceNo;
    }

    public void setInvoiceNo(String invoiceNo) {
        this.invoiceNo = invoiceNo;
    }

    public String getInvoiceCode() {
        return invoiceCode;
    }

    public void setInvoiceCode(String invoiceCode) {
        this.invoiceCode = invoiceCode;
    }

    public Byte getInvoiceStatus() {
        return invoiceStatus;
    }

    public void setInvoiceStatus(Byte invoiceStatus) {
        this.invoiceStatus = invoiceStatus;
    }

    public String getPayerBankName() {
        return payerBankName;
    }

    public void setPayerBankName(String payerBankName) {
        this.payerBankName = payerBankName;
    }

    public String getOnlineTradeNo() {
        return onlineTradeNo;
    }

    public void setOnlineTradeNo(String onlineTradeNo) {
        this.onlineTradeNo = onlineTradeNo;
    }

    public String getSellerName() {
        return sellerName;
    }

    public void setSellerName(String sellerName) {
        this.sellerName = sellerName;
    }

    public List<TradeOrderDetail> getTradeOrderDetails() {
        return tradeOrderDetails;
    }

    public void setTradeOrderDetails(List<TradeOrderDetail> tradeOrderDetails) {
        this.tradeOrderDetails = tradeOrderDetails;
    }

    public BigDecimal getChargeType() {
        return chargeType;
    }

    public void setChargeType(BigDecimal chargeType) {
        this.chargeType = chargeType;
    }

    public Byte getLogisticType() {
        return logisticType;
    }

    public void setLogisticType(Byte logisticType) {
        this.logisticType = logisticType;
    }

    public Byte getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Byte payStatus) {
        this.payStatus = payStatus;
    }

    public TradeOrderDeclare getTradeOrderDeclare() {
        return tradeOrderDeclare;
    }

    public void setTradeOrderDeclare(TradeOrderDeclare tradeOrderDeclare) {
        this.tradeOrderDeclare = tradeOrderDeclare;
    }

    public Byte getIsAddressAnalyze() {
        return isAddressAnalyze;
    }

    public void setIsAddressAnalyze(Byte isAddressAnalyze) {
        this.isAddressAnalyze = isAddressAnalyze;
    }
}
